from server.module_chat.chat.core.agent.tool.function.functions_registry import get_function


class FunctionFactory:
    def create(self, name: str):
        function = get_function(name)
        return function
